package com.zhiyou100.modify;

/**
 * 和Student是同包不同类
 */
public class Test {

    public static void main(String[] args) {

        Student student = new Student();
        student.name = "李四";
        student.num = "201879564";
        student.score = 56.9;
        //此时age是private修饰，不能被外界直接访问
//        student.age = 20;
        student.test();

    }

}
